<?php

$TCA['inquiry_voter'] = array(
	'ctrl' => $TCA['inquiry_voter']['ctrl'],
	'interface' => array(
		'showRecordFieldList' => 'pid,hidden,user_ip,user_browser,question_id,answer_id'
	),
	'types' => array(
		'1' => array('showitem' => 'pid,hidden,question_id,user_ip,user_browser,question_id,answer_id')
	),
	'palettes' => array(
		'1' => array('showitem' => '')
	),
	'columns' => array(
		'hidden' => array(
			'exclude' => 0,
			'label'   => 'LLL:EXT:inquiry/Resources/Private/Language/locallang_db_voter.xml:voter.hidden',
			'config'  => array(
				'type' => 'check',
			),
		),
		'question_id' => array(
			'exclude' => 0,
			'label'   => 'LLL:EXT:inquiry/Resources/Private/Language/locallang_db_voter.xml:voter.question_id',
			'config'  => array(
				'type'		=> 'input',
				'size'		=> 32,
			),
		),
		'answer_id' => array(
			'exclude' => 0,
			'label'   => 'LLL:EXT:inquiry/Resources/Private/Language/locallang_db_voter.xml:voter.answer_id',
			'config'  => array(
				'type'		=> 'input',
				'size'		=> 32,
			),
		),
		'user_ip' => array(
			'exclude'	=> 0,
			'label'		=> 'LLL:EXT:inquiry/Resources/Private/Language/locallang_db_voter.xml:voter.user_ip',
			'config'	=> array(
				'type'		=> 'none', 
				'size'		=> 15,
			),
		),
		'user_browser' => array(
			'exclude' => 0,
			'label'   => 'LLL:EXT:inquiry/Resources/Private/Language/locallang_db_voter.xml:voter.user_browser',
			'config'  => array(
				'type' => 'none',
				'size' => 10,
			),
		),
	),
);

?>